<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>My Resum</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <script type="text/javascript" src="../js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.min.js"></script>
<script >
    $(function(){
        $('#myCarousel').carousel({interval:2000});
    });
</script>
</head>
<body>
<div class="container">
    <div class="carousel slide" id="myCarousel">
        <ol class="carousel-indicators">
            <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
            <li data-target="#myCarousel" data-slide-to="1"></li>
            <li data-target="#myCarousel" data-slide-to="2"></li>
        </ol>
        <!--轮播的项目-->
        <div class="carousel-inner">
            <div class="item active">
                <img src="../img/tm-bg-slide-1.jpg">
            </div>
            <div class="item ">
                <img src="../img/tm-bg-slide-2.jpg">
            </div>
            <div class="item ">
                <img src="../img/tm-bg-slide-3.jpg">
            </div>
        </div>
    </div>
</div>
</body>
</html>